// 视频
type WebVideo = {
  id: number
  videoName: string
  videoUrl: string
  videoCoverUrl: string
  createTime: Date
}

// 视频列表返回结果
type ResWebVideoList = {
  list: WebVideo[]
  total: number
  pageNo: number
  pageSize: number
}
// 增 删 改
type ResStatus = {
  isSuccess: boolean
}

// 分页
type pagination = {
  pageNo: number
  pageSize: number
}

// 上传参数
type uploadParams = {
  file: File
  type: 'file' | 'image' // 上传类型
}
// 上传返回结果
type ResUpload = {
  url: string
}
